<#include "/common/head.ftl">

<@showTitle title="${i18n.getMessage('room')} > ${i18n.getMessage('info')}">
	<a href="#" onclick="cc('materialFacilities/showListRoom.sgt')">${i18n.getMessage('roomList')}</a>
	- <a href="#" onclick="cc('materialFacilities/showEditRoom.sgt?id=${(room.id)!}')">${i18n.getMessage('edit')}</a>
	- <a href="#" onclick="if(confirm('${i18n.getMessage('dialog.delete')}')) { cc('materialFacilities/deleteRoom.sgt?id=${room.id}'); }">${i18n.getMessage('delete')}</a>
</@showTitle>

<table id="dataTable" align="center" cellspacing="5" cellpadding="0">
	<tr>
		<td class="name">${i18n.getMessage('location')}:</td>
		<td>${(room.location.name)!}</td>
	</tr>
	<tr>
		<td class="name">${i18n.getMessage('code')}:</td>
		<td>${(room.code)!}</td>
	</tr>
	<tr>
		<td class="name">${i18n.getMessage('name')}:</td>
		<td>${(room.name)!}</td>
	</tr>
	<tr>
		<td class="name">${i18n.getMessage('seatCount')}:</td>
		<td>${(room.seatCount)!}</td>
	</tr>
	<tr>
		<td class="name">${i18n.getMessage('active')}:</td>
		<td>${(room.active?string(i18n.getMessage('yes'),i18n.getMessage('no')))}</td>
	</tr>
	<tr>
		<td class="name" style="vertical-align:top">${i18n.getMessage('comment')}:</td>
		<td><textarea readonly style="width:350px;height:80px;background-color:#FFFAFA;">${(room.comment)!}</textarea></td>
	</tr>
</table>
